home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{EAB22AC0-30C1-11CF-A7EB-0000C05BAE0B}#1.1#0"; "SHDOCVW.DLL"
- Begin VB.Form Form1
- Caption = "Form1"
- ClientHeight = 2775
- ClientLeft = 1620
- ClientTop = 1545
- ClientWidth = 5220
- LinkTopic = "Form1"
- ScaleHeight = 2775
- ScaleWidth = 5220
- Begin SHDocVwCtl.WebBrowser wbrDesiredURL
- Height = 720
- Left = 120
- TabIndex = 0
- Top = 600
- Width = 720
- Visible = 0 'False
- ExtentX = 1270
- ExtentY = 1270
- ViewMode = 1
- Offline = 0
- Silent = 0
- RegisterAsBrowser= 0
- RegisterAsDropTarget= 0
- AutoArrange = -1 'True
- NoClientEdge = -1 'True
- AlignLeft = 0 'False
- ViewID = "{0057D0E0-3573-11CF-AE69-08002B2E1262}"
- Location = ""
- End
- Begin VB.TextBox txtURL
- Height = 285
- Left = 360
- TabIndex = 2
- Text = "http://www.altavista.com"
- Top = 120
- Width = 3375
- End
- Begin VB.CommandButton cmdShowURL
- Caption = "Show URL"
- Height = 495
- Left = 3840
- TabIndex = 1
- Top = 0
- Width = 1215
- End
- Begin VB.Label Label1
- Caption = "URL"
- Height = 255
- Left = 0
- TabIndex = 3
- Top = 120
- Width = 375
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub cmdShowURL_Click()
- wbrDesiredURL.Navigate txtURL.Text
- End Sub
- Private Sub Form_Resize()
- Dim hgt As Single
- hgt = ScaleHeight - wbrDesiredURL.Top
- If hgt < 120 Then hgt = 120
- wbrDesiredURL.Move 0, wbrDesiredURL.Top, ScaleWidth, hgt
- End Sub
- Private Sub wbrDesiredURL_DownloadComplete()
- wbrDesiredURL.Visible = True
- End Sub
-